import { createStore, applyMiddleware } from 'redux'
import thunk from 'redux-thunk'
import reducer from './reducer'
// export default createStore(reducer, applyMiddleware(thunk,中间件,中间件))
export default createStore(reducer, applyMiddleware(thunk))
